package com.size.mall.mallapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @param
 *
 * @return
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pms_sku_info")
public class PmsSkuInfo implements Serializable {
    @TableId
    String id;

    String productId;

    BigDecimal price;

    String skuName;

    BigDecimal weight;

    String skuDesc;

    String catalog3Id;

    String skuDefaultImg;

    @TableField(exist = false)
    List<PmsSkuImage> skuImageList;
    @TableField(exist = false)
    List<PmsSkuAttrValue> pmsSkuAttrValueList;

    @TableField(exist = false)
    List<PmsSkuSaleAttrValue> pmsSkuSaleAttrValueList;
}
